package com.duruikang.LeaveAPI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author Drik
 * @date 2021-12-20 17:06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("token")
public class Token implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 教职工id
     */
    @TableId("token_id")
    private Integer tokenId;
    /**
     * 教工号
     */
    @TableField("token")
    private String token;
}
